import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/reset.css'
import router from './router'

import '@/assets/css/index.less'
import 'tailwindcss/tailwind.css'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 设置默认主题
import { setDefaultTheme } from '@/theme/theme.js'

const app = createApp(App)

app.use(createPinia())
app.use(router).use(Antd).use(ElementPlus)

app.mount('#app')

setDefaultTheme()
